package extend;
//父类
public class A {
    //公开成员
    public int i;
    public void print1(){
        System.out.println("------------print1----------");
    }

    //私有成员
    private int j;
    private void print2(){
        System.out.println("----------print2--------------");
    }
}
